Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

separate tracing environment variables #6323

Merged
merged 3 commits into from
May 26, 2021
Merged

Conversation

coryschwartz
Copy link

The reason for this PR is to make it easier to setup metrics in kubernetes environments.

in kubernetes, the IP address of the agent is not known until the pod starts, after which it can be made available as an environment variable. By that time, it is too late to append the port number. When the agent endpoint is read in with a single environment variable, the best you can do is combine the host and port numbers as a bash script prior to starting lotus.

With this PR, the agent host and port can be read in with two environment variables without any bash shenanigans.

Also, I added environment variables to support jaeger authentication, or sending directly to the collector.

Copy link
Contributor

@magik6k magik6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(lint fails)

We should also update documentation/en/jaeger-tracing.md

@magik6k magik6k enabled auto-merge May 26, 2021 09:57
@magik6k magik6k merged commit 409f96d into master May 26, 2021
@magik6k magik6k deleted the feat/separate-tracing-env-vars branch May 26, 2021 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants